import request from '@/utils/request'

// 查询核酸楼栋任务列表
export function listNucleatebuildingtask(query) {
  return request({
    url: '/system/nucleatebuildingtask/list',
    method: 'get',
    params: query
  })
}

// 查询核酸楼栋任务详细
export function getNucleatebuildingtask(id) {
  return request({
    url: '/system/nucleatebuildingtask/' + id,
    method: 'get'
  })
}

// 新增核酸楼栋任务
export function addNucleatebuildingtask(data) {
  return request({
    url: '/system/nucleatebuildingtask',
    method: 'post',
    data: data
  })
}

// 修改核酸楼栋任务
export function updateNucleatebuildingtask(data) {
  return request({
    url: '/system/nucleatebuildingtask',
    method: 'put',
    data: data
  })
}

// 删除核酸楼栋任务
export function delNucleatebuildingtask(id) {
  return request({
    url: '/system/nucleatebuildingtask/' + id,
    method: 'delete'
  })
}



